package routers

import (
	"github.com/gin-gonic/gin"
	"muziai-server/api"
)

func AliRouter(r *gin.RouterGroup) {
	//middleware := middleware.MiddlewareAuth{}
	aliApi := api.ApiApp.AliApi
	//r.GET("/alipay/pay", middleware.MiddlewareAuth(), aliApi)
	r.GET("/alipay/callback", aliApi.Callback)
	r.POST("/alipay/notify", aliApi.Notify)

}
